public class K_7 {
    static int num = 1;
    public static void main(String[] args) {
        back(4);
        System.out.println(num);
    }
    static void back(int n){
        if (n==0)
            return;
        num *= n;
        back(n-1);
    }
}
